<!doctype html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org">

<head>
    <div th:replace="~{theme/wuxia/common :: meta}"></div>
    <meta property="og:title" th:content="${ currentNav.name + ' | ' + #servletContext.getAttribute('configMap')['blog_name']}" />
    <title>[[${currentNav.name}]] | [[${#servletContext.getAttribute('configMap')['blog_name']}]]</title>
    <div th:replace="~{theme/wuxia/common :: link}"></div>
</head>

<body>
    <div class="wrap">

        <div class="cover">
            <img th:if="${#strings.startsWith(currentNav.cover,'http')}" class="lazyload bg" th:data-original="@{${currentNav.cover}}">
            <img th:if="${#strings.startsWith(currentNav.cover,'http') == false}" class="lazyload bg" th:data-original="@{${prefix} + '/source/images/bg-01.jpg'}">
            <div class="fadeBottom"></div>
        </div>

        <div th:replace="~{theme/wuxia/common :: nav}"></div>
        <div class="main">
            <div class="custom-page-detail">
                <div class="custom-page-content"  th:utext="${md.md2html(#objects.nullSafe(currentNav.content, ''))}"></div>
            </div>
        </div>
        <div class="top-btn"></div>
        <div th:replace="~{theme/wuxia/common :: footer}"></div>
    </div>
    <div th:replace="~{theme/wuxia/common :: script}"></div>
</body>
</html>
